package com.wutianyi.module.services.impl;

import com.wutianyi.module.member.MemberDao;
import com.wutianyi.module.member.dataobject.MemberDO;
import com.wutianyi.module.services.MemberServices;

public class MemberServicesImpl implements MemberServices {

	private MemberDao memberDao;

	@Override
	public MemberDO getMemberByName(String name) {
		return memberDao.getMemberByName(name);
	}

	public MemberDao getMemberDao() {
		return memberDao;
	}

	public void setMemberDao(MemberDao memberDao) {
		this.memberDao = memberDao;
	}

	@Override
	public void createMember(MemberDO member) {
		memberDao.createMember(member);
	}

	@Override
	public void updateMember(MemberDO member) {
		memberDao.updateMember(member);
	}

}
